To perform an update in symfony using doctrine2. I know that we first query the entity from the id to see if it exists. If it exists we have to modify the object returned by the query. We then modify this object with access modifiers. Is there a helper to pass the properties of an object to the doctrine managed object?