modify proirity queue