updated user and evnet schema