Fix update scope number