auto-refresh page after updates