add update a path to use a variable