Mark assignment complete in database