update dependencies' priority at the end