Commit before updating functions.