modify products' edit action and index action