Commit changes before upgrade