updating application layout