Working on insert/save code in ORM