update application layout