update doc
add gradients