Added soft delete to the database