update chk-spec.sh