updated clay doc
updated clay doc and code