updates to soft deletion function