layout main update