add event to db when new version found.