route update for mainpage