Made it so topics can now automatically be saved to the database