update/delete category function added