Update pages in database from editor.