updating tag to category