tools: Update to the new API
3 files changed