update ArcGIS JS API to 3.5