update the remaining numbering