Fixed and optimized update save.
Added data type conversion of a column date string to date time object.
Cherry picked database entities changes from ANDS branch.