upgrading pkgs to support sourcemap