update ui to input/view content-type