finished inserting obra in db