Upgrade apm