i think they mean "upgrade your friends" as "actively work on making your friends better people", not "find better friends" (instead of making them "someone else's problem" :P )
“Get better friends” and “help your existing friends be better people” are both fine options; some people need a lot of work and walking away is by far the better option.