update to ditty version 2 and support new API
bump version