Update preview API