add buff state cache