Shanghai braces for historic impact