Update noteevent.cpp