update error method .equal