update icon and layout