sync to the master