updating alerts the messages received