updated devicemap