updates for delete()