Update gzip functions