Update formatting for error messsages