update stlye of pages