fix config src and tests
update doc
update doc
update function name and doc