create an updater class with momentum and adadelta methods