add some documentation to env vars
fixed storage bug
add level update