updating angular and ng-grid