Modify update_attributes to only update attributes that are part of the passed in hash