sync before change