Updates z path