Modified the refresh to be done async (not blocking the ui)