update dependencies and resources
require dependencies in correct order