U: update api, fix #45