updae application layout