edit views for messages