Save phrases to database