updated dependencies.

Dependencies have been updated and fixed to the latest set of compatible libraries. Review by @joneshf, @mankyKitty, or anyone who can merge(@paf31, @garyb)