updating the convert m-files to prepare data