update upstream to v5.2.0