sync db model work