Update RagicClient related method in swift