adds call to refresh

I think this might complete the gui