fix DB updating speed
Merge branch 'pr703'