update live preview