adding save changes on scripted index page