rewrite model module and sync logic