sync the changes