Update Page and Post controller