fixes advance_photon_paths
updates config