updating patient paths