updates ond database, add classes