Update code about file descriptor and process