added preview into admin