update some layout