update upstream to 1.4.0