Update the slot controlling method(using pointer).