fix db update
Merge pull request #159 from alshabib/0.10-MAINT

fix db update