provide interface to change the priority of a task