Implement updating protocol in Angular