update config content for 404 page and 403 page