update the taking photo