Adding an auto refresh

This should work now