[update] sql flush
[update] modified ui