Added edit message functionality

Signed-off-by: Graham Chiu <compkarori@gmail.com>