But over the past decade , Beijing has stepped up its presence abroad with activities ranging from taking on a bigger role in U.N. peacekeeping to expanding political and commercial ties with Africa and Latin America .