update records from API in angular 9