update sample and gitignore