Updates data query script.