update p2 manage script