Correctly updates the submit button