Replace deprecated paths