update views layout