updates for field database attributes

Also removes the old code for handling these fields