Update sqlite to work with local