updating path