Add 'edited' flag for references'