Updates formatting of warnings