updated godoc documents for new API