A JSON message with the address update values is created and is run using curl. No errors are thrown either in the client or in the server. But the details of the address is not updated to the database. I even checked the unit testcase "public void shouldEditIAnAddress() throws Exception" and there seems to be no problem with it and it runs correctly without errors.
Not only this, I modified the "resource/impl/DelegatingSubResource.java" to print the value of the delegate object and it does print the output as if the address value has been updated, but when I check the database it is not. So the problem could be somewhere in openmrs core
Address update message
Output of the response message I printed by modifying the code: