added component changing preview