Add update ui state function