update layout fronent