updates error message in registrant controller