BUGFIX: fixes relation id when save & publishing a new record

if you create a new record and click save & publish the relationship id isn't recorded in the model.