updating attribution on error pages