Working on updating insert

To update object with the id after it's been inserted