Added Update method to DocumentStore class.