Changed the checks for --inplace to use the new updating_basis_file