update angular rest consumer