added refresh to button click