changed company_id to its hash