update runtime env