[NTG-context] Update setpath to set the path