This function naturally should be const, which requires to make needsUpdate_ mutable which is valid here.