update wpanel control