update vignette,fix warnings about argument names,fix match