cleaned up mongo function a bit by renaming dict_match to match
changed update_cols_ifchanged that will be renamed at some point and use to replace update_col
added delete host and adding more basic testing