updated state events saving through sdk controller