add functionality in et-utils to switch db, fixed convertfromdto bug,make local test pass ag1, ag2,ag3