commit changes before getting latest