Update dependencies and fix logging.