update doc + some const vars