implements insert in logtable when rollback