changed update method of REST service from PUT to POST, since this way no configuration needed in Angular