update for pattern