added refresh function to preview and also a way to change the participant