update category on edit