Changed unique id for Document model from name to url