update P1 to P3