updating path for client