sync to model