update for instance var