bug fix in get_updated_content_dict_for_keys