update UI state for animation states