update for phpng