fixing index.html  & adding missing </divs>
adding missing update function in selectView