Added support for update_attributes

Space inside } missing.