update new callback with vte_spawn api