spdb_read.sql + index updates