Update Main Java