Added sql update scripts for views generation
SQL update script fixed