apply new layout