updating sources as we go