Mistake in function name updateSope.

Mistake in function name updateSope. changed to updateScope.