add decpreated api
add uptoken test