set state attributes in even block