update share codes