ok api update collection