update paths to be root relative