update root dir for http server