Fix to allow multiple fields to be updated.

The current "update" does not allow multiple fields to be updated. I made a slight change that now allows multiple fields update. Please review.