added preview to admin view