there is a bit of code duplication between this method and ``executeUpdates``