update the fetch script