Fixed ORM updateBy methods