update to gzip code