add new_frame event