Fixed db update script
Merge pull request #85 from wshafer/master

Fixed db update script