update category controller