added real-time updates