role batch update method