Auto Refresh

Added auto refresh to the plugin.