update using var states