update the angularjs