edit device initialize