change page route and db