Update rippleerror
Set message.result before emitting submitted event