purge returns list of dropped elements, this will be used by the db layer