Updating path variables