add update and delete function for ProductForm