Refactor function to update card with weather station.