Fixes #161 - updated packages

Made the changes recommend in issue #161 - Verified that both examples work.