add edit and delete for messages
small fix