Added edit functionality for products