upate sql dump
remove redundance code