update index page, refactor events params