swap sqlite for progres data