updating pages main