Update models when env is set/unset