update API, revert last commit