update p2 style