replace new layout