udpate panel function factor