updating performance statics