Observing microscopic transformations of electrocatalyst sur