support for updating env after settings deletion