updates index.html
contains active-inavtive button