Use the Column Populator utility for database and schema maintenance. It is a command-line script that allows you to update rows of database tables after database schema changes.
This utility can populate values for a new column corresponding to a newly exposed property, exposing values that were previously stored only in the Storage Stream (BLOB) column, and optionally rebuilding database indexes and Index- instances defined by Declare Index rules.