update packages, better url encode