update fd2.sh