change default value for ui and chnage addaptive threshold value