Edit products

Edited the edit function for the products.