Update the properties on an object with the properties from another object.