refresh button and download formats