update source dir and baseurl path