soft delete a record if it contains deleted_at property