clear cache when deleting groups and add logging to read_data