update according to rich:panel