update user interface of show and form