Set the updater function to actually perform a gradient step in a given direction.

Set the updater function to actually perform a gradient step in a given direction.
The updater is responsible to perform the update from the regularization term as well,
and therefore determines what kind or regularization is used, if any.