[fix] [minor] set dirty on sync