update ORM table stuff