update activityIndicator