add changes to update device other than add device