Let the updateEntity method return the persistant object.

Let the updateEntity method return the persistant object, instead of passing back the object of the request.