edit for run many times
Update process input from socket