added editing for products.