changes in the model and added delete function for products