commit before modification