Changed UpdateProcessor to use lambdas.

Also fixed formatting and removed unused  method from
Indexer.