updates the package to the latest API and removes the 2.0 dependency