update photon