commit before upgrading