Adjust upper & lower wqhreshold