I'm a ducking idiot - forgot to save after createRecord. That is now fixed