modify main pages