You can automate the numbering of elements by clicking Insert > Number (Dynamic) This will create a number that will update each time you edit the page. If you have a chapter that already has manual numbers in headings or figure titles, you can also have the system attempt to automatically find and convert them to dynamic numbers.