upated preview events handling