$('body').on('click','a.remote-update', function () {
          $.ajax({
             type: 'post',
             url: this.href,
             data: { _method: 'put',