moved update task labels to the end of the file