more scope
working update script