Update histogram script.