Update MainUI and LoginUI