working on update function in the categories api