Handle device changes