update gitignore
rewrite for v.3.x