This line should be:

ea.setNamespace("c");
ea.setName("bbb");
service.update(ea);