refresh wrapper