update angular models