sync to local