updating preview node