Update dependencies and recursively load definitions