updating for pages