update doc
update SQL header file