update runtime err