modify device json
change last run to last_active