updating previews layout