added delete product and update product methods