Update correlation how-to-guide

4 functions doing the same thing, could be one function with the property as a parameter?