update mark code