updating each second graph