update click action in index.html