polling interval for dynamic update now in database
introduced 2 polling times for when browser has or has not focus