update regularizer