Removed date column from MD5 hash calculation
added a new insert select statements for comparing changed records