update sncode