Update the path appropriately.