update for lay out samples