Update histogram chart when histogram changed