update CreateDevice