updated packages, fixed build errors