updating restangular