save modifications