#2665 Update petition code