fixing a bug in edit product api