update to errorfunc url