Update size and add missing device parameters