updating for latest pagi change