update resource fix lag