layout update by Wxg