Local Dynamics of Industrial Upgrading