update_attribute now working