use buffer
Update index.html