bootstrap for median
update bootstrap