Change main page query