Update scope snippet