update amap demo