updated companies controller