Update realtime.js