When you get a less data from a form or your api client then you actually have in the DB. It's always a pain to update the data because of the default values of the objects.
Here a magic method based on reflexsivity to update an object type by himself without modifiying it if the default value is set.
One obvious downside : No way to update de objects properties to the default values using this method...