update code for doc