added support for product options and images in edit product page