Updates the enetity refs on the sms message class, to try and get the Id to save.