When it comes time for it, first upshift one ring in the rear immediately followed by the downshift up front immediately followed by another upshift in the rear. As rapidly in succession as you can. With practice this becomes really smooth.
And if you are running 50/34 up front consider replacing the 34 with a 36...
.