update deps and tweaks to API