Change SetState contract