update the layout of gabble