api update analysis