updates with secure api