refresh messages on open connection