updates for delete