updating index html and backand