update driver and add compression type