add var config to updateUser() call for db