update layout controls