id changed to details_id