updating APM method