add edit function on product tab