Made update button on devicelist work