Adding update functionality for product form.