save changes on calculate