Improved method to detecting new collection url