updating pages and controllers