update log and fix executeBatch() call