Updates source with closure