update current tasks after transfer fo task to priority tasks and vice versa