update takepicture