update product and category CRUD