updating code doc