update application layout and messages