updating script and adding data