Database bugfixes and updates
Handled UNIQUE error with insert or ignore