advice for breaking an array of vendor attributes into local attributes and updating a database