updated to new api
2 files changed