update styles for error messages