add event callback in control server