Moving updating performance code