Main Frame update