updating data/script