update has_edf to has_psg