The company could be paid up to $239 million to upgrade and repair the ship, which transports and lands Marines.