modify clinet t_input, t_friend_w, t_friend_r