Update path replacement.