update ORM mapping