updating all messages view and removing data