update generator preview