how to change a unit