We propose and numerically verify a scheme for compact optical modulation which can enable complex directional switching of signals in integrated micro-optical circuits within hundreds of femtoseconds. The scheme is based on a trimer comprised of two identical silica whispering gallery mode (WGM) microresonators spaced by a central non-linear WGM resonator. The non-linear resonator is in the form of a silica cylinder with a thin coating of an ultrafast Kerr nonlinear material (a J-aggregate of cyanine dye). Using a two-dimensional finite-difference time-domain method and realistic material and structural parameters, we investigated the near-field coupling from a waveguide to the trimer and the subsequent switching process. In our scheme the sandwiched central control resonator has a resonant frequency that is mismatched to that of the input and output resonators. Therefore the optical energy is coupled from the waveguide into only the primary resonator in linear operation. However, for control light intensities of more than approximately 10(-2) W/microm the effective index and hence eigenfrequency of the central resonator can be shifted to match that of its neighbors and hence the optical energy can be redirected.