update panel control