update chkbox