adding PUT method for catagories