Add update SQL scripts from 4.0.1 to 4.02
Fix wrong column name in check attribute