Can you clarify you are adding this else because we want to avoid a double update by triggering two events instead of one?