add fields to db and autodb classes