script to update a document's data in solr