update applicationlayout