Updateobjectattributes

Updates a given object's attributes.