Remove children and replace belongs_to relations with ID before updating. Map existing objects to ngResource objects on load