Update emessage.cpp