update ui for the result, navigate, and details page