Added support for updating pages