update for photon selection