update set rotate in ios6