updating all paths