update collection spec