update apk upgrade code