Added refresh to client sample