after adding device to map, adds to device array, removes from missing and refreshes html elements