Add insert to training data to database route