update 404, 422 and 500 error pages