updating stuff for pages