-- refresh button functionality added