Update the api to recognize the topic text[] in the database.