update ids
udpate events id