Manipulating the dipolar interactions and cooperative effect