Spin transformations of discrete surfaces