Added oldId field to DbItem