update while running and updated references