added a recursive flag to refresh api