Event db structure modified to easyer form