update events layer every 5 secds