Add object_update/2 function.