update function chkLength9to10