Sounds like your code is from a fairly old source - refresh used to be part of the servo library, no longer needed - just delete the calls to it.
Sounds like your code is from a fairly old source - refresh used to be part of the servo library, no longer needed - just delete the calls to it.