change update dict threshold