filter a dictionary `d` to remove keys with value 'none' and replace other values with 'updated',"dict((k, 'updated') for k, v in d.items() if v != 'None')"