updating pages content