update clientcheck.sh