pass collection url to models