update messages realtime