add a test for updating a page
add an error if page does not exist