Light controllable defect modes in three-dimensionalphotonic crystal