updated dependecy order