That is close to what needs done before you change pads. Too often people just push them in which pushes in the old build up. Then the calipers don't work smoothly and brakes wear poorly or not work well at all. Again I hesitate to mention the best way is to replace the seals lol. I have actually taken them all the way apart, put the old seals into clean fluid while I degunked the bores and recesses for the seals. Then use a finger nail to clean the seals and reassemble. Most of the time that works just fine even if the outer dust seals have some tears or wear. Here's the right way: