updated extension to support stable and canary