update gitignore and delete temp file