updated current priority