update error/warning number