add missing update version. Fix #819
Merge pull request #859 from lunika/version_sql

add missing update version. Fix #819