update angular app to changes in agent