Implement Heartbeat API to update sales dashboard widget.