update after moving a section