Fix incorrect event dependency of GPU update