update framework and add environment variable