update_details must return a hash