Shanghai is completely different from the rest of China.
Comparing Shanghai education to US education is like comparing the best school district in the US to the average school district of China.
As with many things the communists parade around, you will be shown the front gates, but you won't be shown anything past it lest you realize you're seeing the facade of a movie set.