add public refresh method