update appl layout