update file descriptor