update first integrated robot code