updated query prarams, set it up on search