structure changes for refresh button, updated mm