[UPDATE] update median.