Errormessages updates and validation.