Add chat and categories to metadatas