update todo
rewrite binlog