update tags and categories