model: add synchronize() function