updating the scopeing