Work on worker function to update in background