saving last changes before adding companies