Update Median of Two Sorted Arrays V2