update error messages to reflect error