update layout view main