updated phrase generator