Update sqltie read logic