BUG: [API] Update person data must reference inside object.
BUG: [API] Update person data must reference inside object.

The person data update function was converted to work with database IDs
instead of personal numbers, instead of reading the $id variable the
inside of the resulting mysql object needed to be addressed.

bthstudent/msys