angular working update