use the right REST url when saving a model that has no id