Update flowLayout