Add update SQL scripts from 4.0.1 to 4.02
Fix wrong column name in check attribute
Merge pull request #26 from CarstenHollmann/first_latest_time

Add SQL update scripts and fix wrong mapping definition in check attribute