added product edit functionality