update index page query