call content.save() before applyChanges(), fixes issue with changes not being saved on newly created objects