Updates database properly
Merge pull request #1 from kadensotek/master

Updates database properly