updated deps and fixed csv to support new api