update sql

So resubmitted assignments don't return to the marking block after
they've been graded
up version