update facet handling
handle updated facet constraint api
handle top_n parameter