def update(self, dir, source, params):
        """`update` is called with a path to the directory containing the
        build's full set of sources as the first argument, and is given on
        stdin the configured params and the resource's source configuration.