update customComponent sample