update the sql update script