Update dialogue.cpp