update the error tip method to message tip method