upgrading convert sourcemap and renaming sourcemap module
handling existing sourcemaps correctly