Avoid sending an empty PUT request

Return nil from requestForUpdatedObject if the set of updated
attributes is empty