add 'deleted' flag to entries