updating for previews