Update logic so that non-existing database objects are added to the characters db