Correctly updates the submission label and error labels