WAL sqlite improved