Sqlite cache needs updating reading in metadata