update
add test code