Update agent dependency