add share update, albeit a bit ugly. also add device to share