update source.
dymanic get R path and package name