update tags and category