Updating path class