add html base and update index