added function to trigger update of couchdb indexes