Database script updated with document meta data.