update test and doc