import com.messagebird.MessageBirdClient;
import com.messagebird.MessageBirdService;
import com.messagebird.MessageBirdServiceImpl;
import com.messagebird.exceptions.GeneralException;
import com.messagebird.exceptions.UnauthorizedException;

public class ExampleUpdateNumber {
    public static void main(String[] args) {
        if (args.length < 1) {
            System.out.println("Please specify your access key.");
            return;
        }
        // First create your service object
        final MessageBirdService wsr = new MessageBirdServiceImpl(args[0]);

        // Add the service to the client
        final MessageBirdClient messageBirdClient = new MessageBirdClient(wsr);
        try {
            System.out.println(messageBirdClient.updateNumber(args[1], args[2], args[3], args[4]));
        } catch (UnauthorizedException | GeneralException exception) {
            if (exception.getErrors() != null) {
               System.out.println(exception.getErrors().toString());
            }
            exception.printStackTrace();
        }
    }
}
@@ -341,17 +341,17 @@
 ength %3C 
-1
+3
 ) %7B%0A    
@@ -408,16 +408,68 @@
 cess key
+, phone number, and the tags you wish to apply to it
 .%22);%0A   

fix error conditions