[doc] updated scope builder on functions