updating path reference.