fixed faulty conditional on refresh method which was ignoring all refresh calls that didn't include all endpoints