Update dependencies, bug fixes for internal cache
