Revert "[IMP] Remove unnecessary refresh statements because of new api"

This reverts commit b213438176b16e96686d94063a3cdf6dc5c49618.