update doc for constants