udpate angularjs