final structure for update command