def METHOD_NAME(meta_layer, learning_rate, gradients, weights_args):
    kernel_old = meta_layer.kernel
    biases_old = meta_layer.bias
    kernel_arg, biases_arg = weights_args
    kernel_grads = gradients[kernel_arg]
    biases_grads = gradients[biases_arg]
    kernel_new = gradient_step(learning_rate, kernel_grads, kernel_old)
    biases_new = gradient_step(learning_rate, biases_grads, biases_old)
    return kernel_new, biases_new