Efficient control of magnetic anisotropy and the orientation of magnetization are of centralimportance for the application of nanoparticles in spintronics. Conventionally, magnetization iscontrolled directly by an external magnetic field or by an electric field via spin-orbit coupling.Here, we demonstrate a different approach to control magnetization in small clusters. We firstshow that the low magnetic anisotropy of a Co5 cluster can be substantially enhanced by attachingbenzene molecules due to the mixing between p states of C and the d states of Co sites. We thenshow that the direction of magnetization vector of Co5 sandwiched between two benzene moleculesrotates by 90 when an electron is added or removed from the system. An experimental set up torealize such effect is also suggested.