update SunSpotApplication