fixing up refresh to work with refactor