update subprocess