From The Document Foundation Wiki
To update it:
- display the Styles and Formatting sidebar using ▸ (F11);
- select the text which already has the format you want;
- in the Styles and Formatting window, click the button on the top right New Style from Selection; and
- select Update Style.