creating PUT route to update categories items following HTTP protocol pattern