reload the preview and rebind input data