Fix APC memory upgrade