New dat api

i made some breaking changes to dat recently, this seems to fix the app