collections and publish method uğpdate