Updates data and script