fix ORM update