addaed event training relationship and some other minor changes