update 404 and error pages