fixing a bug where we couldn't update a page content