Update Main Frame with main panel