update environment for localproxy