corrected the install and update sql scripts, cause some parts are missing