part2 update(priority)