index.html update div lost