updated documentation for preview