if key id_str is not in list, its not inserted