added options to histogram. and details-table working except on updates