update readme preview code