update has been renamed to updatePreview