update collection endpoint