Boeing plans software updates to make its 737 Max planes safer