update category and tags