Update state when show changes.