switch to pages db