prototype scope update