adjust transaction logic
show writer last record