Update message functionality

1. added update message functionality
2. changed delete message option