minor changes, added support for background added fields to db