update Layout