updated products_controller