return $http.put(url + obj.id + '/', obj).
then(function onSuccess(response) {
loaderHide();
angular.extend(obj, response);
errors = {};
}, function onError(response) {
loaderHide();
handleErrors(response, status, errors, not_show_error_toast);
});