As 737 MAX planes are grounded, Boeing says will upgrade software in weeks