Update SQL Table using CASE and WHEN

Given a table salary, such as the one below, that has m=male and f=female values. Swap all f and m values (i.e., change all f values to m and vice ver ... ...