Update main frame