update for error pages