updates activity indicator view sample.