update socode