updates the package