update error method (does not exist) call to emit