update demo compression with matlab