updated save cmd