update gitignore and build file