added DBUtils2 class to implement related functions
fixed small bug of missing on duplicate keys update