update scoping