Upadate layout