update the insert class ui