markExecuted via upsert