handle interactive prompt case, and update binary