setUriFragment without enter call, or detect it.

I am updating the URI Fragment with user entered parameters for a search request.
Currently everytime I set the fragment, the ‘enter’ method is being called again. Is there a way to update the query fragment without firing the enter, or in the enter, determine if it was as actual view change or just an update?

I guess I miss this one.

setUriFragment(java.lang.String newUriFragment, boolean fireEvents) Sets the fragment part in the current location URI.