correcting how marks are updated