update error method