You can just use the User.setUserField(uid, field, value, callback) function, by importing the module.parent.require('./user')
To set the value while creating the account, I suggest you to check the custom registration field (or something like that) plugin and use it, or taking inspiration from it.