update code scripts