updating list layout