update doc, make sensitive to environment variable