Update dependencies and use mime-types for lookups