Upgrade to apm@0.47.0