update usage of specutils