Modify 'updatemarketdata' to run as global task